<?php

class Default_Model_Contact extends Zend_Db_Table_Abstract{
    public $_name="contact";
    public function addData($data){
    	$data = array(
                'contactName' => $data['contactName'],
                'email' => $data['email'],
                'subject' => $data['subject'],
                'content' => $data['content'],
                );
        $idAdd = $this->insert($data);
        return $idAdd;
    }           
    
}